Image Properties
data class ImageProperties(val canvasHeight: Int? = null, val imageWidth: Int? = null, val imageHeight: Int? = null, val startDrawPositionX: Int? = null, val startDrawPositionY: Int? = null) : Parcelable
A data class that holds the info to the image properties, if null, then the existing layout properties of the passed image will be taken.
Constructors
Properties
Link copied to clipboard
Refers to the canvas height in pixels. The canvas size is paper width x canvas height.
Link copied to clipboard
Refers to the image height in pixels. If null it will take existing height of image
Link copied to clipboard
Refers to the image width in pixels. If null it will take existing width of image.
Link copied to clipboard
Start draw position top left of canvas horizontal to the right.
Link copied to clipboard
Start draw position top left of canvas vertical downwards.